Xbasic

eval_variables Function

Syntax

Result as C = EVAL_VARIABLES(Expression as C, Variables as P, eval_context as C [, eval_cursorstate as C])

Arguments

ExpressionCharacter

An Xbasic expression.

VariablesPointer

Pointer

eval_contextCharacter

The context in which the expression should be evaluated. This can be a list of tables in a CR-LF delimited list. It can also be the name of an open form (suffixed by ".this"), which would evaluate the expression in the context of the form.

eval_cursorstateCharacter

Internal Use Only.

Returns

ResultCharacter

Returns the result of the expression.

Description

Return the result of the expression (parses an expression stored in a string, and evaluates it).

See Also